-
Notifications
You must be signed in to change notification settings - Fork 5.5k
OpenAI - Support 4.1 Models #16353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenAI - Support 4.1 Models #16353
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 3 Skipped Deployments
|
WalkthroughThis update introduces support for OpenAI 4.1 models across the codebase. It adds new 4.1 model options to the fine-tuning models constant, updates the assistant and chat model filtering logic to recognize 4.1 models, and refactors the assistant model retrieval for clarity and maintainability. The majority of other changes are version bumps for various action and source modules, reflecting maintenance and release practices without altering their logic or structure. The package version is also incremented. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant OpenAIApp
participant OpenAIAPI
User->>OpenAIApp: Request assistant model options
OpenAIApp->>OpenAIAPI: Fetch all models
OpenAIAPI-->>OpenAIApp: Return model list
OpenAIApp->>OpenAIApp: Filter models (gpt-3.5-turbo, gpt-4-turbo, gpt-4o, gpt-4.1, etc.)
OpenAIApp-->>User: Return filtered assistant model options
Assessment against linked issues
Suggested labels
Suggested reviewers
Poem
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
components/openai/actions/cancel-run/cancel-run.mjsOops! Something went wrong! :( ESLint: 8.57.1 Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'jsonc-eslint-parser' imported from /eslint.config.mjs components/openai/actions/analyze-image-content/analyze-image-content.mjsOops! Something went wrong! :( ESLint: 8.57.1 Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'jsonc-eslint-parser' imported from /eslint.config.mjs components/openai/actions/chat-using-file-search/chat-using-file-search.mjsOops! Something went wrong! :( ESLint: 8.57.1 Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'jsonc-eslint-parser' imported from /eslint.config.mjs
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (46)
⏰ Context from checks skipped due to timeout of 90000ms (2)
🔇 Additional comments (48)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
luancazarine
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @michelle0927, LGTM! Ready for QA!
Resolves #16316
Summary by CodeRabbit
New Features
Refactor
Chores